//
//  UIView+Addition.h
//  MianLiuBao
//
//  Created by 陈浩男 on 15/8/27.
//  Copyright (c) 2015年 陈浩男. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Additions)

@property(nonatomic) CGFloat left;
@property(nonatomic) CGFloat right;
@property(nonatomic) CGFloat top;
@property(nonatomic) CGFloat bottom;
@property(nonatomic) CGFloat width;
@property(nonatomic) CGFloat height;

- (void)introduceSelf;

@end

@interface UIScrollView (Additions)

@property(nonatomic) CGFloat edgeInsetsLeft;
@property(nonatomic) CGFloat edgeInsetsTop;
@property(nonatomic, readonly) CGFloat edgeInsetsRight;
@property(nonatomic, readonly) CGFloat edgeInsetsBottom;

@end
